<div>
  <div class="sub-header">
    <div class="tabname">
      <a  ng-repeat="item in tab" ng-class="{'active':item.flag}" class="tabname" ng-click="changeClass($index)">{{item.name}}<span ng-if="item.msg.length > 0" class="badge tabname-tip badge-assertive">{{item.msg}}</span></a>
    </div>
  </div>
  <ng-transclude></ng-transclude>
</div>
